C. The code would not compile as the version does not support

memory

D. The code would not compile as the memory storage is not

supported for the integer type of variables

Q46: You have to handle a large amount of data in a function of type

Array. Which type of data saving technique would you use?

A. Storage

B. Stack

C. Memory

D. None

Q47: The variables of type reference can be stored in which of the

following?

A. Storage

B. Stack

C. Memory

D. Both A and C

Q48: Which of the following statement(s) is/are correct?

A. The default location for storing local variables of struct, array,

or mapping type reference is storage

B. The default location for storing local variables of value type

uint, int, string, bool etc., are stack

C. The default location of storing the state variables is storage

D. All of the above

Q49: In a particular algorithm in a Solidity file, we need to continue a

repetitive calculation till a particular value is reached. After the

value is reached, the calculation should not continue. Which

control statement would you choose?

A. If-else

B. Switch

C. do-while